<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="/template.xhtml">
        <ui:define name="content">
            <h:form id="formFeedback" prependId="false">
            <p:growl id="msgs"/>
            <center>
            <p:panelGrid columns="2" >
            <f:facet name="header">
                Details of Feedback
            </f:facet>

         

            <h:outputLabel value="Title " />
            <h:outputLabel value="#{feedbackController.current.title}" style="word-break:break-all;"/>

            <h:outputLabel value="Content " />
            <h:outputLabel value="#{feedbackController.current.content}" style="word-break:break-all;"/>

            <h:outputLabel value="Student " />
            <h:outputLabel value="#{feedbackController.current.userInfo.userName}" style="word-break:break-all;"/>

            <h:outputLabel value="Answer " />
            <h:outputLabel value="#{feedbackController.current.answer}" style="word-break:break-all;"/>

            <h:outputLabel value="Comment Date " />
            <h:outputLabel value="#{feedbackController.current.commentDate}">
            <f:convertDateTime pattern="MM/dd/yyyy" />
            </h:outputLabel>

       

            <f:facet name="footer">
                <p:commandButton value="Back" icon="ui-icon-check" style="margin:0" ajax="false" action="#{feedbackController.prepareList}" />
                
            </f:facet>
            </p:panelGrid>
            </center>


        </h:form>
        </ui:define>
    </ui:composition>
</html>
